
package test.actions.depre;

import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;
import test.utils.depre.sakis.Saki;
import test.vfx.depre.SakiMoveEffect;

public class SakiAction extends AbstractGameAction {

    private AbstractCard card;
    public Saki saki;

    public SakiAction(AbstractCard card, Saki saki) {
        this.card = card;
        this.saki = saki;
    }

    @Override
    public void update() {
        AbstractGameAction blockAction=new BlockAction();
        AbstractDungeon.topLevelEffects.add(new SakiMoveEffect(saki,card,blockAction));
        addToTop(blockAction);
        this.isDone = true;
    }

}
